﻿<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="text" omit-xml-declaration="yes" indent="no" encoding="utf-8" />
    
<xsl:template match="/">

  <xsl:apply-templates select="ReleaseDifference" />
	
</xsl:template>

<xsl:template match="ReleaseDifference">
   
<xsl:value-of select="@Name" /> API Differences Report
===================

This report details changes in the public API between versions **<xsl:value-of select="@From" />** and 
**<xsl:value-of select="@To" />** of **<xsl:value-of select="@Name" />**. It shows additions, modifications 
and removals of assemblies between the two versions. The links on this page detail which classes, interfaces 
and enumerations have been added, removed or changed in each assembly.

<xsl:value-of select="@Name" /> Summary
-------------------


<xsl:apply-templates select="RemovedAssemblies"/>

<xsl:apply-templates select="ChangedAssemblies"/>

<xsl:apply-templates select="AddedAssemblies"/>


Generated by [<xsl:value-of select="@ProductName" /> version <xsl:value-of select="@ProductVersion" />](<xsl:value-of select="@ProductLink" />)
  
</xsl:template>

<xsl:template match="ChangedAssemblies">

Changed Assemblies
------------------


| List of changed assemblies |
| -------------------------- |

<xsl:for-each select="Assembly">
| [<xsl:value-of select="@Name" />](<xsl:value-of select="@Name" />.html) |
</xsl:for-each>

</xsl:template>

<xsl:template match="RemovedAssemblies">

Removed Assemblies
------------------

| List of removed assemblies |
| -------------------------- |

<xsl:for-each select="Assembly">
| <xsl:value-of select="@Name" /> |
</xsl:for-each>

</xsl:template>

<xsl:template match="AddedAssemblies">
<xsl:if test="child::node()">

Added Assemblies
----------------

| List of added assemblies |
| ------------------------ |

<xsl:for-each select="Assembly">
| <xsl:value-of select="@Name" /> |
</xsl:for-each>

</xsl:if>
</xsl:template>

</xsl:stylesheet>
